package com.zmj.demo.pojo.dto;


import com.alibaba.fastjson.JSONArray;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel
public class FormListSortDTO {

    @ApiModelProperty(value = "排序内容")
    private JSONArray sortContent;

    @ApiModelProperty(value = "排序方式 true升序 false 降序")
    private boolean ascending;


    @ApiModelProperty(value = "排序字段")
    @NotBlank
    private String sortFiled;




}
